LIBS += readline

readline: ncurses
readline: CONFIG += --with-curses
